
<%@ page language="java" %>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="serverStyles.css" />
        <title>Login Page</title>
        <script language = "Javascript">
            function Validate(){
                var user=document.frm.user
                var pass=document.frm.pass

                if ((user.value==null)||(user.value=="")){
                    alert("Please Enter user name")
                    user.focus()
                    return false
                }
                if ((pass.value==null)||(pass.value=="")){
                    alert("Please Enter password")
                    pass.focus()
                    return false
                }
                return true
            }
        </script>
    </head>
    <body>
        
        <form name="frm" action="LoginAuthentication" method="Post" onSubmit="return Validate()" >

           <table class="loginTable" border="0" cellpadding="3">
               <thead>
                   <th>Login</th>
                   <th>&nbsp;</th>
               </thead>
               <tbody>
                   <tr>
                       <td>Benutzer:</td>
                       <td><input type="text" name="user" value=""/></td>
                   </tr>
                   <tr>
                       <td>Passwort:</td>
                       <td><input type="password" name="pass" value=""/></td>
                   </tr>
                   <tr>
                       <td></td>
                       <td><input type="submit" value="Sign-In" />&nbsp;<input type="reset" value="Reset" /></td>
                   </tr>
               </tbody>
           </table>
        </form>
    </body>
</html>